﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DevExpress.XtraReports.Web;
using DevExpress.XtraReports.UI;
using System.Data;

namespace WebFormDev.StdQueryPack
{
    public partial class Print : System.Web.UI.Page
    {

        

        protected void Page_Load(object sender, EventArgs e)
        {
            DataTable dt=new DataTable();
            dt.Columns.Add("dfs");
            dt.Columns.Add("dfsafd");

            var dr = dt.NewRow();
            dr[0]="1111111111";
            dr[1]="1111111111";
            XtraReport xr = new XtraReport();
            xr.DataSource = dt;

            ReportViewer rv = new ReportViewer();
            ReportToolbar rtb = new ReportToolbar();
            rtb.ReportViewer = rv;
            rv.Report = xr;
            form1.Controls.Add(rv);
        }
    }
}